<?php echo form_open_multipart(uri_string())?>    
<?php $item = $query;?>

    <table class="form">
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('district_city');?></td>
            <td>
                <select id="parent_id" name="city_id" class="w300">
                     <option value=""> <?php echo lang('select_district_city');?></option>
                    <?php echo $option_pid ?>
                </select>
            </td>
            </tr> 
         
        <tr>
            <td class="required label" style="width: 150px;">Tên quận huyện</td>
            <td><input type="text" name="name" id="name" class="w250" value="<?php echo $item->name;?>"></td>
        </tr> 
         
       <tr>
            <td class="label" style="width: 150px;"><?php echo lang('district_order');?></td>
            <td><input type="text" name="nb_order" id="nb_order" class="w250" value="<?php echo $item->nb_order;?>"></td>
        </tr> 
        <tr>
            <td class="label"><?php echo lang('active_deactive');?></td>
            <td><input type="checkbox" name="bl_active" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
<?php echo form_close()?>